﻿using Microsoft.AspNetCore.Http;
using Microsoft.AspNetCore.Mvc;
using Utility.Helper;

namespace WebApi6.Controllers.FilePath
{

    public class FilePathController : ControllerBases
    {
        [HttpGet]
        public void FilePath()
        {
           var a = FileDirectoryExtension.CurrentDomainDirectory();
           var ae =  System.IO.File.Exists(Path.Combine(a, @"FileFolder\123.txt"));
           var ae1 = System.IO.File.Exists(Path.Combine(a, @"321.txt"));
           var b = FileDirectoryExtension.EnvironmentDirectory();
           var be = System.IO.File.Exists(Path.Combine(a, @"FileFolder\123.txt"));
           var be1 = System.IO.File.Exists(Path.Combine(a, @"321.txt"));
           var c = FileDirectoryExtension.AssemblyDirectory();
           var ce = System.IO.File.Exists(Path.Combine(a, @"FileFolder\123.txt"));
           var ce1 = System.IO.File.Exists(Path.Combine(a, @"321.txt"));

        }
    }
}
